﻿using GraphProcessor;
using IQIGame.Onigao.Logic;
using UnityEngine;

namespace IQIGame.Onigao.GamePlay.Editors
{
    [System.Serializable, NodeMenuItem(SkillEditorConst.SkillEffective + "/" + SkillEditorConst.ReplaceBuffDotType, typeof(SkillEditorGraph))]
    public class SkillEffectiveNode_RepalceBuffDotType : SkillEffectiveNode
    {
        protected override ESkillEffectiveType effectType => ESkillEffectiveType.ReplaceBuffDotType;

        public int dotType;

        protected override SkillCustomConfig CreateConfig()
        {
            return new SkillEffective_RepalceBuffDotType_ConfigData()
            {
                dotType = this.dotType
            };
        }
    }
}